package com.mike.employment.dao;

import java.util.List;

import org.springframework.stereotype.Repository;

import com.mike.employment.base.BaseDao;
import com.mike.employment.po.Apply;

@Repository
public interface ApplyDao extends BaseDao<Apply>{
	
	List<Apply> findByResume_Creater_idAndRecruit_id(Long accountId, Long recruitId);
	Long countByResume_Creater_id(Long accountId); //学生投递岗位数
	Long countByResume_Creater_idAndStatus(Long accountId, Integer status); //学生投递通过岗位数
	Long countByRecruit_Creater_id(Long accountId); //查询简历
	Long countByRecruit_Creater_idAndStatus(Long accountId, Integer status); //查询审核简历
}
